.edit-cell-align-left {
	text-align: left;

	input:not(.ant-calendar-picker-input, .ant-time-picker-input) {
		text-align: left;
	}
}

.edit-cell-align-center {
	text-align: center;

	input:not(.ant-calendar-picker-input, .ant-time-picker-input) {
		text-align: center;
	}
}

.edit-cell-align-right {
	text-align: right;

	input:not(.ant-calendar-picker-input, .ant-time-picker-input) {
		text-align: right;
	}
}

.edit-cell-rule-popover {
	.ant-popover-inner-content {
		padding: 4px 8px;
		color: #ed6f6f;
		// border: 1px solid @error-color;
		border-radius: 2px;
	}
}

.editable-cell {
	position: relative;
	min-height: 24px; // 设置高度让其始终可被hover

	&__wrapper {
		display: flex;
		align-items: center;
		justify-content: center;

		span .ant-select {
			min-width: calc(100% - 50px);
		}
	}

	&__icon {
		&:hover {
			transform: scale(1.2);

			svg {
				color: @primary-color;
			}
		}
	}

	.ellipsis-cell {
		.cell-content {
			overflow: hidden;
			text-overflow: ellipsis;
			word-break: break-word;
			overflow-wrap: break-word;
			white-space: nowrap;
		}
	}

	&__normal {
		&-icon {
			position: absolute;
			top: 4px;
			right: 0;
			display: none;
			width: 20px;
			cursor: pointer;
		}
	}

	&:hover {
		.editable-cell__normal-icon {
			display: inline-block;
		}
	}
}
